﻿using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace SistemaAdministracion.Models.BaseClass
{
    [Table("cargafamiliar",Schema="personal")]
    public class CargaFamiliar
    {
        [Column("idfichaempleado")]
        public int IdFichaEmpleado { get; set; }
        [Column("run")]
        public int RUN { get; set; }
        [Column("idpersona")]
        public int IdPersona { get; set; }
        [Column("div")]
        public char DIV { get; set; }
        [Column("niveleducacional")]
        public int NivelEducacional { get; set; }
        [Column("parentesco")]
        public int Parentesco { get; set; }
        [Column("vigencia")]
        public int Vigencia { get; set; }

        public virtual FichaEmpleado FichaEmpleadpo { get; set; }
        public virtual Persona Persona { get; set; }
    }
}
